package com.piece.core.log.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 审计日志配置
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.log")
public class LogProperties {

    /**
     * 日志记录类型(logger/redis/db/mongo)
     */
    private String type = "logger";

    /**
     * 数据库类别
     */
    private String driveClass = "MYSQL";
}
